home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / ds300.arc / DS_READ.ME < prev    next >
Text File  |  1987-06-05  |  23KB  |  417 lines

  1.                         DIRECTORY SCANNER PROGRAM
  2.                                Ver 3.00
  3.  
  4.  ///  Users of Ver 2.30 (and earlier) updating to Ver 3.00 MUST (repeat     \\\
  5. ***   MUST) use the new  version  of DS_DRIVE.SYS contained herein.          ***
  6.  \\\  Ver 3.00 will not work correctly with older versions of DS_DRIVE.SYS  ///
  7.  
  8.     Presents a full screen display of the directory structure of a given
  9. disk drive.  The display looks like the following:
  10.  
  11. █████ Drive  C ███████████████████████████████ C:\DIR2 ████████████████████████
  12. █ c:\                █  backup  .exe    ║ finder  .com     ║ guts    .zzz     █
  13. █  ├─ dir1           █  create  .com    ║ finder  .exe     ║ help    .def     █
  14. █  ├─ dir2           █  dump    .asm    ║ finder  .obj     ║ killer  .com     █
  15. █  │   ├─ sub1       █  dump    .exe    ║ guts    .asm     ║ print   .com     █
  16. █  │   └─ sub2       █  dump    .obj    ║»guts    .com«    ║ qsort   .exe     █
  17. █  └─ dir3           █  eater   .bas    ║ guts    .exe     ║ vdisk   .sys     █
  18. █                    █  eats            ║ guts    .obj     ║ zoo     .bas     █
  19. █                    █  eatz    .bat    ║                  ║                  █
  20. █                    █                  ║                  ║                  █
  21. █                    █                  ║                  ║                  █
  22. █                    █                  ║                  ║                  █
  23. █                    █                  ║                  ║                  █
  24. █                    █                  ║                  ║                  █
  25. █                    █                  ║                  ║                  █
  26. █                    █                  ║                  ║                  █
  27. █                    █                  ║                  ║                  █
  28. █                    █                  ║                  ║                  █
  29. █                    █                  ║                  ║                  █
  30. █                    █                  ║                  ║                  █
  31. █                    █                  ║                  ║                  █
  32. ███████████████████████████████████████████████████████████████████████████████
  33. Total: 10,456,123 │ Help=?  Name ^ │ Files: 22   Used: 137,354        Tagged: 0
  34. Used:   8 000,000 │ Free Core 146K │ ────name────  ──size── ──date─── time─ atr
  35. Free:   2,456,123 │ Disk  80% Full │ guts    .com    17,123 10 Aug 85 18:30 r
  36. -------------------------------------------------------------------------------
  37.  
  38. |  This program consists of the following 9 files:
  39.                                                  
  40.    1. DS_READ.ME   - This read.me file
  41.  
  42.    2. DS_DRIVE.SYS - File  loaded  as  a  device  driver that  reserves 10K of 
  43.                      memory   to   store   hard   disk   directory   structure 
  44.                      information.  This  memory  area  is  used  so  that upon 
  45.                      reactivation of "DS.EXE",  repeat scanning of the disk is 
  46.                      not  needed  to  determine  the disk directory structure.  
  47.                      This  file  REQUIRES  the   following   entry   in   your 
  48.                      "CONFIG.SYS" file: 
  49.  
  50.                                DEVICE=DS_DRIVE.SYS  D:C
  51.                                                     ^^^--- Drive specifier
  52.  
  53.                                where  D:C    indicates only  drive C  will  be 
  54.                                              maintained by the driver.
  55.                                  or   D:CD   indicates  drives C & D  will  be
  56.                                              maintained by the driver.
  57.  
  58.                                Note:  Currently only a max of 2 drives may  be
  59.                                   specified.  If you have only 1 HD  drive  to 
  60.                                   save,   it's  highly  recommended  that  you 
  61.                                   specify that 1  drive  so  that  the  device 
  62.                                   driver  will  allocate  all  of its reserved 
  63.                                   memory  area  for  that  one  drive.  It  is 
  64.                                   recommended  that  you do not specify floppy 
  65.                                   disk drives or RAM drives here as they  take 
  66.                                   little   time   to  rescan  the  full  drive 
  67.                                   directory structure.  
  68.  
  69.                      The above entry is required in your "config.sys" file  so 
  70.                      that  upon  booting your system,  the file is loaded as a 
  71.                      device driver.  Upon successful booting  and  loading  of 
  72.                      this file you should see the following message: 
  73.  
  74. |                            "DSCANNER Drv 3.00 Installed"   
  75.                                      
  76.                      This  file  is  MANDATORY  for  the  program  to  operate 
  77.                      correctly.  Without this file the DS  program  must  seek 
  78.                      out  the  entire  hard disk directory structure each time 
  79.                      the program is activated.  This disk directory  structure 
  80.                      scan  can  take  upwards of 10 seconds to accomplish on a 
  81.                      10M hard disk.  Even longer for larger  and  fuller  hard 
  82.                      disks.  With  this file installed at boot time the DS.EXE 
  83.                      program can maintain directory data on up to 2 drives. If
  84.                      you will be using the "b" backup option of the DS program 
  85.                      the "ds_drive.sys" MUST be installed at boot time as  the 
  86.                      backup  option  expects to obtain data from the installed 
  87. |                    driver.  Other program modules (ie:  F10 - expanded  help
  88. |                    option, macro  definitions,  and  directory  links)  also
  89. |                    REQUIRE  the  device  driver  to  be  installed  to  work
  90. |                    correctly.  Don't call me with questions if  you  haven't
  91. |                    installed this driver.
  92.  
  93.    3. DS.EXE       - The directory scanner program.  Can be executed by typing
  94.                      the following: 
  95.  
  96.                             "ds" - Start program on the default drive.  If the 
  97.                                      DS_DRIVE.SYS  memory area has been loaded 
  98.                                      and    contains    directory    structure 
  99.                                      information  then  rescanning of the disk 
  100.                                      for the directory structure info  is  not 
  101.                                      necessary.  
  102.  
  103.                             "ds c" - Start program with "c" drive as the first 
  104.                                      displayed  drive.  This  format  is  also 
  105.                                      used  if  it  becomes necessary to rescan 
  106.                                      the disk directory  structure  and  avoid 
  107.                                      using    possibly    outdated   directory 
  108.                                      structure information  contained  in  the 
  109.                                      DS_DRIVE.SYS driver memory area. There is 
  110.                                      an option within the DS  program  (ALT-R) 
  111.                                      to   rescan  the  drive  and  update  the 
  112.                                      directory structure information  so  that 
  113.                                      exiting and re-entering DS with "ds c" is 
  114.                                      not necessary.  
  115.  
  116.    4. DS_BKUP.EXE  - The backup program which is activated from within  the DS 
  117.                      program by selecting the "b" option.  This program is not 
  118.                      a  self sufficient program.  It cannot be executed on its 
  119.                      own and work properly.  It expects  to  obtain  directory 
  120.                      structure  information from the DS_DRIVE.SYS memory area.  
  121.                      The DS_BKUP.EXE program must reside  in  a  directory  in 
  122.                      your PATH.  
  123.  
  124.    5. DS_HELP.EXE  - The expanded context-sensitive help displays. The program 
  125.                      is activated from within the main program by pressing the 
  126.                      F10 key.  
  127.  
  128. |  6. DS_INIT.EXE  - This program is called by the main ds program  to  aid in 
  129. |                    displaying/changing macro definitions, the default editor 
  130. |                    and lister, and the directory to number linking.  
  131.  
  132. |  7. DS_PROG.DEF  - The program "defaults" file.   This file contains data on 
  133. |                    the  default  startup  colors,  macro  definitions,   the 
  134. |                    defined  editor  and lister,  and links of directories to 
  135. |                    numbers.  
  136.  
  137. |  8. DS_USERS.MAN - An abbreviated users document. 66 lines/page (19 pages)
  138.  
  139.    9. DS_MOUSE.MSC - Source file for a  Mouse  Systems  optical  mouse  device 
  140.                      driver pop-up menu display.  
  141.  
  142.  
  143.    RECOMMENDED "AUTOEXEC.BAT" ENTRIES:
  144.  
  145.        To enable automatic startup of the program on color monitors the fol-
  146.        lowing sample entries are recommended for the user's autoexec.bat file.
  147.  
  148. |           path c:\;c:\dos;c:\ds;...  {"c:\ds" plus other user directories}
  149.             dpath                      {shareware dpath program            }
  150. |           set DS=c:\ds               {sets home directory of ds files    }
  151.             ds                         {starts execution of DS program     }
  152.  
  153.        Assumptions in using the above entries are:
  154.             1. The DS program files are housed in the "c:\ds" directory.
  155.             2. The user has a copy of the "dpath" shareware program which
  156.                enables DOS to find overlay and support files the editor
  157.                may need.
  158.        
  159.        If the user has sufficient memory and maintains  a  RAM  disk,  startup 
  160.        time  for the DS or the user-supplied editor may be reduced if the user 
  161.        copies ds.exe and/or their editor to the RAM disk and includes the  RAM 
  162.        disk as the first directory in the path command.  
  163.  
  164.  
  165. |  REQUIRED "CONFIG.SYS" ENTRY:
  166. |
  167. |      The following line is REQUIRED in your "congif.sys" file for the PROPER
  168. |      OPERATION AND INTERFACING OF DS PROGRAM MODULES:
  169. |
  170. |           device=c:\ds\ds_drive.sys D:CD
  171. |
  172. |      Use the full pathname appropriate to your system and where  you  placed
  173. |      the "ds_drive.sys" file.  See the discussion above on file  #2  for  an
  174. |      explanation of the "D:CD" parameter as it also should be appropriate to
  175. |      your system configuration.
  176.  
  177.  
  178.    CURRENT PROGRAM LIMITATIONS:
  179.  
  180.        MS/PC DOS 2.0+
  181.  
  182.        Maximum number of fixed/hard disk drives supported/saved: 2
  183.  
  184.         NOTE:  Floppy and RAM drives are supported by the program  but  not
  185.                saved to the ds_drive.sys area unless  instructed  to  by  a 
  186.                command in the config.sys file.   See the discussion  of the 
  187.                ds_drive.sys file above.
  188.  
  189.        Maximum number of directories per drive: 100
  190.  
  191.        Maximum number of files per directory: 250
  192.  
  193.        Maximum length of full pathname for any directory: 39 characters
  194.  
  195.        These limitations were chosen for no particular reason.  The program 
  196.        can be recompiled extending these limitations, but with a consequent 
  197.        increase in the size of the program.  The program currently takes up 
  198. |      approximately 70K during execution. This does not include the backup 
  199.        option (which during  execution  takes  up  additional  core  -  but 
  200.        releases it upon termination of the option), nor does it include the 
  201.        ds_drive.sys device driver which permanently reserves an area in low 
  202.        memory.  
  203.  
  204.    PROGRAM BACKGROUND:
  205.        
  206.            The "directory scanner" program did not start out to be the  DOS 
  207.        shell program it is now.  Originally,  I started out to write a hard 
  208.        disk backup program to enable  backing  up  and  (more  importantly) 
  209.        restoring  the  hard  disks  on  PC's located in public rooms in the 
  210.        Computer Science Department of the  Naval  Academy.  The  midshipmen 
  211.        had  tendencies to add/delete files they shouldn't and  occasionally 
  212.        even use the dreaded "format c:" command,  so procedures  for  quick 
  213.        backup  and  restoration were necessary.  As the backup program took 
  214.        shape I recognized it had capabilities far beyond  just  backup  and 
  215.        restoring  files.  Development  of  the backup program was therefore 
  216.        temporarily suspended while the DOS shell program took  shape.  Many 
  217.        early  suggestions  for  improvement came from the other instructors 
  218.        within the CS department.  When the shell program  firmed  up,  work 
  219.        was  completed on the backup program and it was installed as the "b" 
  220.        option within the directory scanner program.  The program is written 
  221.        primarily  in  "C"  (90%)  with  a  number  of  supporting  assembly 
  222.        languages routines (10%) used to enhance display speed.  
  223.  
  224.  
  225.    REVISION HISTORY: (Major Changes or enhancements)
  226.  
  227.        Ver 2.00  -  Initial public release
  228.  
  229.        Ver 2.10  -  Added CTRL-L option to show program limits.  Also added
  230.                     limit checks  to detect excessive directories/files and
  231.                     inform  user  of  problem.  Offending directories/files
  232.                     are ignored and program continues execution.
  233.  
  234.                  -  Added  ALT-F  option to show free space on drives other
  235.                     than the current drive.
  236.  
  237.                  -  Increased stack size in an attempt to eliminate sporadic
  238.                     stack overflow errors in file sort routine.
  239.  
  240.                  -  Bug  Fix.  Copy/Move  option with destination directory
  241.                     of  only  2  or  3 characters (ie: \c  or  \ds) did not
  242.                     work correctly.
  243.  
  244.        Ver 2.11  (27 May 86)
  245.                 
  246.                  -  Temporary  patch  to  file sort routine stack overflow
  247.                     problem.  
  248.  
  249.                  -  Added ALT-X option to allow execution of indicated file
  250.                     with I/O redirection possible.  Original "X" option did
  251.                     not allow for redirection.
  252.  
  253.                  -  Modified DS_DRIVE.SYS device driver to  allow  the user
  254.                     to specify the drives the driver should save. This will 
  255.                     allow users with  other  than  fixed  disks  (Bernoulli 
  256.                     boxes for example) to specify their desires.  See above 
  257.                     explanation on DS_DRIVE.SYS for proper specification of 
  258.                     desired drives.  
  259.  
  260.        Ver 2.12  (29 May 86)
  261.  
  262.                  -  Bug Fix to backup option introduced by  Ver  2.11 where 
  263.                     backup option listed 1 file in each directory twice and 
  264.                     left off 1 file that was really there.  
  265.  
  266.        Ver 2.20  (20 Dec 86)
  267.  
  268.                  -  Changed  Rescan  Directory option (old CTRL-D) to ALT-R 
  269.                     option to make room for next new option.  
  270.  
  271.                  -  Added CTRL-D option for Directory Modifications. Allows 
  272.                     addition, deletion,  and name  changing of directories.  
  273.                     Based on limited testing to date,  name  changing  only
  274.                     appears to work for PC/MS DOS 3.0+.
  275.  
  276.                  -  Added  ALT-S  option  for  Selecting & Sorting of files 
  277.                     within a directory.  Allows the user to specify a  file 
  278.                     select  filter  other  than  the  default  "*.*".  Also 
  279.                     allows  for  sorting   files   up/down   by   filename, 
  280.                     extension, size, date, or no sort (directory order).  
  281.  
  282.                  -  Installed  new  sort function to rectify previous stack 
  283.                     overflow problems with original sort routine.  
  284.  
  285.                  -  Added CTRL-V option to toggle the  displaying  of  disk
  286.                     volumn identifiers. 
  287.  
  288.        Ver 2.21  (3 Jan 87)
  289.  
  290.                  -  Fixed bug in backup option.  New sort routine added  in 
  291.                     version 2.20 caused backup program to crash if diskette
  292.                     or drive directory identified as backup destination was
  293.                     empty.  If backup option is not used, version  2.21  is
  294.                     identical to version 2.20.
  295.  
  296.        Ver 2.30  (1 Feb 87)
  297.  
  298.                  -  Deleted F10 as an exit option to make room for the next
  299.                     new option.
  300.  
  301.                  -  Added expanded on-line context-sensitive help.  The F10
  302.                     key is used to activate this option.
  303.  
  304.                  -  Modified "c" command enter option to allow for multiple
  305.                     command entries prior to returning to DS.  Also  allows
  306.                     for interface with DOS command  stack/editing  programs
  307.                     such as "CED", and keyboard redefinition programs  such
  308.                     as "Newkey".
  309.  
  310.                  -  Modified find option to display only matching files  in
  311.                     directories where matches occur.   Changed option  keys
  312.                     in a directory with a matching  file  to  F2  (continue
  313.                     search), CR (stay in current directory), & ESC  (return
  314.                     to original directory).
  315.  
  316.                  -  Added "TAB <ltr>" option to  enable  tabbing/moving  to
  317.                     the first directory containing a matching letter as the
  318.                     first character in its full pathname.
  319.  
  320.                  *  Acknowledgement -  Grateful appreciation is extended to
  321.                     Mr.  James  Lemay  of Ft. Worth, Texas for his  careful
  322.                     review and  thoughtful  insights  and  suggestions  for
  323.                     improvements to the program.
  324.  
  325. |      Ver 3.00  (8 Jun 87)
  326. |
  327. |                -  Modified Color Change options.  Alt-K must be  selected 
  328. |                   to  enable  color  changes.  This  prevents  accidental 
  329. |                   color changes which was annoyingly common  in  previous 
  330. |                   versions.  Along  with  this  change  the "set DS=0F14" 
  331. |                   type  command  in  the  "autoexec.bat"  file  must   be 
  332. |                   replaced with a 
  333. |                                       "set DS=c:\ds"   (without quotes)
  334. |
  335. |                   type  command.  The characters following the equal sign 
  336. |                   should specify the full pathname of the directory where 
  337. |                   the user has placed all the DS files.  The pathname  of
  338. |                   the specified "home" directory should NOT  end  with  a 
  339. |                   "\" so if the user places all  DS  files  in  the  root 
  340. |                   directory of the "d:" drive, it would be  specified  as
  341. |                   follows:
  342. |                                       "set DS=d:"      (without quotes)
  343. |
  344. |                -  Added Alt-E option to enable toggling in and out of EGA 
  345. |                   43-line mode.  
  346. |
  347. |                -  Added support for macro definition and execution.  Alt-
  348. |                   F1 thru Alt-F9,  Shift-F1 thru  Shift-F9,  and  Ctrl-F1 
  349. |                   thru  Ctrl-F9  may  be  user  defined  to execute other 
  350. |                   DOS commands.  Alt-F10, Shift-F10 and Ctrl-F10 are used
  351. |                   to display/change  macro  definitions.   Should  future
  352. |                   desired enhancements require some available  keys,  one
  353. |                   set of the above keys (ie: all alternate-function keys)
  354. |                   may be freed up for such purposes.
  355. |
  356. |                -  Add  capability  to link a directory to a number key or 
  357. |                   alt-number key sequence.  After such linkage  is  made, 
  358. |                   depressing  the  single  number  key  or alt-number key 
  359. |                   sequence will switch the directory display to  the  new 
  360. |                   directory.   Selecting  "0"  or  "alt-0"  will  display 
  361. |                   directory links and allow additions/deletions.  
  362. |
  363. |                -  Added Ctrl-E option to enable  user  to  define desired 
  364. |                   editor  and  lister  program.  Defaults  are "edit" and 
  365. |                   "list" but may be permanently changed by the user.  
  366. |
  367. |                -  Added "defaults" file support to provide  for permanent 
  368. |                   user changes to most of the previous options.  
  369. |
  370. |                -  Remember to change the  "set  DS=0FBb"  entry  in  your 
  371. |                   "autoexec.bat" file to reflect the full pathname of the 
  372. |                   home directory for all the DS files.
  373. |                   ie: "set DS=c:\ds"   if the user has placed all the  DS
  374. |                                        programs in the "c:\ds" directory.  
  375. |
  376.  
  377.    AUTHOR:
  378.           Nat Martino
  379. |         501 W. Vineyard Ave. #514
  380. |         Oxnard, CA  93030
  381. |         (805) 485-6340
  382.  
  383.           Personal Biography:
  384.  
  385.           Sep 67 - Jun 71  Graduated from UC Berkeley with AB in  Geography 
  386.                            also  commissioned  an  Ensign in the Navy  thru 
  387.                            NROTC.  
  388.           Jul 71 - Aug 73  Naval aviation basic  and  advanced  training at 
  389.                            Pensacola FL, Glynco GA, and Whidbey Island WA.  
  390.           Aug 73 - Feb 76  VAQ-132  EA-6B  squadron.   The Navy's  tactical 
  391.                            electronic warfare aircraft. (1st tour) 
  392.           Feb 76 - Dec 77  Naval Postgraduate School, Monterey CA.
  393.                            MS degree in computer science.  
  394.           Jan 78 - May 80  Office of the Chief of Naval Operations (OP-643F) 
  395.                            Data  base  administrator  for  CNO  operational 
  396.                            readiness  reports  & automated support for Navy 
  397.                            Command Center.  
  398.           Jun 80 - Dec 80  VAQ-129 readiness training squadron.
  399.           Jan 81 - May 83  VAQ-137 EA-6B squadron. (2nd tour)
  400.           May 83 - Jun 86  U. S. Naval Academy. Computer Science Instructor
  401.           Jul 86 - present Pacific Missile Test Center, Pt Mugu CA.
  402.                            Software Support for EA-6B aircraft.
  403.  
  404.  
  405.    LICENSING/REGISTRATION
  406.  
  407. |          A $15 contribution is requested for the use of this  program  to 
  408. |      help  support  the  author  support the program.  After having spent 
  409. |      thousands of hours  of  my  own  time  to  provide  users  with  the 
  410. |      simplest,  most logical, straight forward and useful disk management 
  411. |      and DOS shell program,  I am requesting that  users  participate  in 
  412. |      supporting  the  program  throught the small requested contribution.  
  413. |      The contribution will enable procurement of equipement  (such  as  a 
  414. |      printer,  mouse,  expanded memory, etc.) to expand the  capabilities  
  415. |      and usefulness of the program.  See  the  users' manual  or  on-line
  416. |      registration help screen for full details on licensing.
  417.